package lab02.test05;

/**
 * Created by Jammy on 2017/10/15.
 */


import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Cube cubeCube=new Cube();
        System.out.println("请输入立方体的长： "+"宽： "+"高： ");
        int length=sc.nextInt();
        int width=sc.nextInt();
        int height=sc.nextInt();

        cubeCube.setLength(length);
        cubeCube.setWidth(width);
        cubeCube.setHeight(height);

        System.out.println(cubeCube.toString());

    }
}
